package me.zhengjie.config.constant;

/**
 * 微信CGI参数常量
 */
public class WeChatConstant {

    /**************************** 系统API定义的参数集 *******************************/
    public static final String SIGNATURE = "signature";

    public static final String TIMESTAMP = "timestamp";

    public static final String NONCE = "nonce";

    public static final String ECHOSTR = "echostr";

    public static final String NONCESTR = "nonceStr";

    public static final String JSAPI_TICKET = "jsapi_ticket";

    public static final String URL = "url";

    public static final String JSAPI_SIGN = "jsapi_ticket={0}&noncestr={1}&timestamp={2}&url={3}";

    public static final String MSG_SIGN_TYPE_AES = "aes";

    public static final String ENCRYPT_TYPE = "encrypt_type";

    public static final String MSG_SIGNATURE = "msg_signature";


    /********************** 自定义的参数集 *********************/
    public static final String CHAR_POOL = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";

    public static final String SUCCESS_FLAG = "success";

    public static final String FAIL_FLAG = "fail";

    public static final String COMPONENTAPPID = "componentAppId";

    public static final String CLASS_PATH_CORE_ANALYZER = "com.ly.traffic.market.wechat.analyzer.impl.{0}";

    public static final String CLASS_PATH_CORE_PROCESSOR = "com.ly.traffic.market.wechat.processor.impl.{0}";

    public static final String notifyUrl = "http://wx.drzh-atmr.cn/wechat/pay/callback";

    public static final String appid = "wx0952c8beac942ad6";
    public static final String mchId = "1613547384";
    public static final String partnerKey = "123qazWSX1234567890lkjhgfdsabcdm";

    public static final String QrCodeScenePrefix = "ATMR_";

}
